/*
 * @Author: 康浩 hao.kang02@geely.com
 * @Date: 2022-12-28 15:21:04
 * @LastEditors: 康某 carl0608@126.com
 * @LastEditTime: 2023-02-02 21:40:26
 * @FilePath: \vue3-template\vite.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";
import eslint from "vite-plugin-eslint";
// const { resolve } = require("path");
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
 server: {	
  hmr: true,
  port: 8089,
 },
 plugins: [vue(), eslint()],
 resolve: {
  alias: {
   "@": resolve(__dirname, "src"),
  },
 },
});
